<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:icecore="http://www.icefaces.org/icefaces/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form id="form">
            <ace:tabSet id="sampleTabSet" clientSide="false">
                <ace:tabPane id="toDoList" label="Accueil">
                    <!--                    <h:selectManyCheckbox id="list" layout="pageDirection" selectedClass="selectedCheckBox" >
                                                    <f:selectItems value="#{tabSet.toDoList}"
                                                                        var="listItem"
                                                                        itemValue="#{listItem.value}"
                                                                        itemLabel="#{listItem.key}"/>
                                            <f:ajax execute="@this" render="@all"/>
                                        </h:selectManyCheckbox>-->

                </ace:tabPane>
                <ace:tabPane id="shoppingList" label="Profil">
                    <h:panelGrid columns="2" style="text-align:left;" styleClass="centeredPanelGrid">
                        <ace:panel>
                        <h:graphicImage value="nadinephoto.jpg"/>
</ace:panel>
                        <ace:panel >
                            <ace:textEntry value="#{leLogin.membreLoger.pseudo}" style="color: green;border:0px" label="Pseudo:" labelPosition="left"></ace:textEntry>
                        </ace:panel>
                        <h:panelGrid style="text-align: left" styleClass="centeredPanelGrid">
                          
                            <ace:textEntry value="#{leLogin.membreLoger.nom}" label="Nom:" labelPosition="left">
                            </ace:textEntry>
                       
                            <ace:textEntry value="#{leLogin.membreLoger.prenom}" label="Prenom:" labelPosition="left" style="text-height: font-size"></ace:textEntry>
                         
                            <ace:textEntry value="#{leLogin.membreLoger.age}" label="Age:" labelPosition="left"></ace:textEntry>
 
                            <ace:textEntry value="#{leLogin.membreLoger.email}" label="Email:" labelPosition="left"></ace:textEntry>
                            <ace:textEntry value="#{leLogin.membreLoger.apparencePhysique}" label="Apparence:" labelPosition="left"></ace:textEntry>
                        <ace:textEntry value="#{leLogin.membreLoger.description}" label="Description:" labelPosition="left"></ace:textEntry>
                        <ace:textEntry value="#{leLogin.membreLoger.ville}" label="Ville:" labelPosition="left"></ace:textEntry>

                        <ace:textEntry value="#{leLogin.membreLoger.sexe}" label="Sexe:" labelPosition="left"></ace:textEntry>
                        <h:commandButton value="#{gestionClinsdoeil.nb}" action="afficheclinsdoeil"/>
                    </h:panelGrid>
                            </h:panelGrid>
                </ace:tabPane>
                <ace:tabPane id="picOfDay" label="favoris">
                    <h:panelGrid style="text-align: center; width: 100%">
                         <ace:dataTable id="MessageTable"
                       value="#{afficheFavoris.lesFavaris}"
                          var="liste">
                
                <ace:column id="nom11" >
                    <h:outputText id="nom" value="#{liste.membreFavorisant}" rendered="true"/>
                </ace:column>
            <ace:column id="nom22"  >
                <h:outputText id="nom3" value="#{liste.membreFavorise}" rendered="true"/>
                </ace:column>
            <ace:column id="dat3"  >
                <h:outputText id="date5" value="#{liste.dateAjout}" rendered="true"/>
                </ace:column>
           
            </ace:dataTable>
                        <h:graphicImage id="sampleImage" value="nadinephoto.jpg" alt="#{tabSet.image.description}"/>
                    </h:panelGrid>
                </ace:tabPane>
                <ace:tabPane id="calendar" label="Message">
                    <h:form>
                        <!--         <ace:dataTable id="membreTableTable"
                                                 value="#{leLogin.membreLogerListe}"
                                               var="liste2">
                                               <ace:column id="phot" >
                                                   <h:outputText id="ph" value="#{liste2.nom}"/>
                                        </ace:column>
                                  </ace:dataTable>-->
                        <h:panelGrid columns="2" style="text-align:left;" styleClass="centeredPanelGrid">
                      
                        <ace:dataTable id="MessageTable"
                                       value="#{afficheMessage.maListeMessage}"
                                       var="liste">
                            <ace:column id="photo1" >
                                <h:graphicImage id="photo" value="nadinephoto.jpg"/>
                            </ace:column>
<!--                            <ace:column id="nom1"  >
                                <h:outputText id="nom" value="#{liste.msgFrom}" rendered="false"/>
                            </ace:column>
                            <ace:column id="nom2"  >
                                <h:outputText id="nom3" value="#{liste.msgTo}" rendered="false"/>
                            </ace:column>-->
                            <ace:column id="mess"  >
                                <h:outputText id="messa" value="#{liste.message}"/>
                            </ace:column>
<!--                            <ace:column id="dat"  >
                                <h:outputText id="date" value="#{liste.sendDate}" rendered="false"/>
                            </ace:column>
                            <ace:column id="nom13"  >
                                <h:outputText id="nom6" value="#{liste.dejaLu}" rendered="false"/>

                            </ace:column>
                            <ace:column id="email1">

                                <h:commandLink action="#{afficheMessage.getMessageId(liste.msgFrom, liste.msgTo)}" value="#{liste.replyToMsgId}" />


                            </ace:column> -->


                        </ace:dataTable>
                            </h:panelGrid>
                    </h:form>
                </ace:tabPane>
                <ace:tabPane id="calendar2" label="TousLesMembres">
                    <h:panelGrid styleClass="centeredPanelGrid" >
                        <ace:dataTable id="tbl2" value="#{leLogin.membreLogerListe}" var="listes">
                            <ace:column headerText="photo">
                                <h:graphicImage value="nadinephoto.jpg" onclick="Accueil"/>
                            </ace:column>
                            <ace:column headerText="Nom">
                                <h:outputText value="#{listes.nom}"/>
                            </ace:column>
                            <ace:column headerText="Email">
                                <h:outputText value="#{listes.email}"/>
                            </ace:column>
                            <ace:column headerText="Pseudo">
                                <h:outputText value="#{listes.pseudo}"/>
                            </ace:column>
                        </ace:dataTable>
                    </h:panelGrid>
                </ace:tabPane>
            </ace:tabSet>
        </h:form>
    </h:body>
</html>

